package com.sevenGroup.pawnshop.service;

import com.sevenGroup.pawnshop.controller.form.UserForm;
import com.sevenGroup.pawnshop.exception.sevenGroupException;
import com.sevenGroup.pawnshop.model.Users;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sevenGroup
 * @since 2022-02-16
 */
public interface UsersService extends IService<Users> {
//        通过账号ID查询用户对象
    Users getUserByaid(Integer aid);

    void changeRole(UserForm userForm) throws sevenGroupException;
}
